﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DotNet.NH.Models;

namespace PerformanceSystem2.Models
{
    /// <summary>
    /// 考评历史
    /// </summary>
    public class AppraiseHistory : EntityBase
    {
        /// <summary>
        /// 考评事件
        /// </summary>
        public virtual DateTime Time { get; set; }

        /// <summary>
        /// 考评人
        /// </summary>
        public virtual UserInfo User { get; set; }

        /// <summary>
        /// 上级，他评人
        /// </summary>
        public virtual UserInfo Super { get; set; }

        /// <summary>
        /// 自评总分
        /// </summary>
        public virtual int SelfTotalPoint { get; set; }

        /// <summary>
        /// 他评总分
        /// </summary>
        public virtual int SuperTotalPoint { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public virtual AppraiseStatus Status { get; set; }

        /// <summary>
        /// 考评详细
        /// </summary>
        public virtual Iesi.Collections.Generic.ISet<AppraiseHistoryItem> Items { get; set; }
    }
}
